package com.sixth.service;

import com.sixth.entity.User;
import com.sixth.until.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @program: self-tui-education
 * @description:
 * @author: 高振杨
 * @create: 2022-04-14 17:34
 **/
@Component
public interface UserService {
    User findByUsername(String username);
    CommonResult updateUserPassword(String oldPassword, String newPassword);

}
